package ru.yelbota.flex.as3jobs.exceptions {
import flash.events.IEventDispatcher;

public class JobWaitEventException extends Error {

    private var _target:IEventDispatcher;
    private var _resourceId:String;
    private var _eventName:String;

    public function get target():IEventDispatcher {
        return _target;
    }

    public function JobWaitEventException(eventName:String, target:IEventDispatcher, resourceId:String) {
        _eventName = eventName;
        _target = target;
        _resourceId = resourceId;
    }

    public function get resourceId():String {
        return _resourceId;
    }

    public function get eventName():String {
        return _eventName;
    }
}

}
